package com.api.shopapi.service;


import com.api.shopapi.entity.Version;
import com.github.pagehelper.PageInfo;

public interface VersionService {

    int insert(Version version);

    int delete(String versionCode);

    int update(Version version);

    Version getByVersionCode(String versionCode);

    Version getByName(String name);

    Version getByVersion(String version);

    PageInfo<Version> getPageList(int pageIndex,int pageSize,String name,String version);

}
